package com.iweb.newa202104.Mapper;

import com.iweb.newa202104.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author: LGZ
 * @Date: 2021/5/9 21:13
 * @Description:
 */
@Repository
@Mapper
public interface UserMapper {

    /**
     * TODO
     * @Description 密码登录
     * @Author lgz
     * @Date 2021/5/10 20:13
     * @param userEntity :
     * @return : com.iweb.newa202104.entity.UserEntity
     */
    UserEntity getUserByPassword(@Param("userEntity")UserEntity userEntity);

    /**
     * TODO
     * @Description 注册
     * @Author lgz
     * @Date 2021/5/10 20:52
     * @param userEntity :
     */
    void insertUser(@Param("userEntity")UserEntity userEntity);
}
